package com.dinzeer.pseudoedge_break_dawn;

import com.dinzeer.pseudoedge_break_dawn.register.PbdEntiteRegristrys;
import mods.flammpfeil.slashblade.client.renderer.entity.SummonedSwordRenderer;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.EntityRenderersEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;

import static com.dinzeer.pseudoedge_break_dawn.Pseudoedge_break_dawn.MODID;

@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD, value = Dist.CLIENT,modid = MODID)
public class PbdClient {
    @SubscribeEvent
    public static void registerEntityRenderers(EntityRenderersEvent.RegisterRenderers event) {
        event.registerEntityRenderer(PbdEntiteRegristrys.SummonSword.get(), SummonedSwordRenderer::new);
        event.registerEntityRenderer(PbdEntiteRegristrys.SummonSwordEX.get(), SummonedSwordRenderer::new);
    }
}
